using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace FreeSqlLearn {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class dtproperties {

		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public int id { get; set; }

		[JsonProperty, Column(DbType = "varchar(64)", IsPrimary = true)]
		public string property { get; set; }

		[JsonProperty, Column(DbType = "image")]
		public byte[] lvalue { get; set; }

		[JsonProperty]
		public int? objectid { get; set; }

		[JsonProperty]
		public string uvalue { get; set; }

		[JsonProperty, Column(DbType = "varchar(255)")]
		public string value { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int version { get; set; } = 0;

	}

}
